<?php
header('Content-Type: text/html; charset=UTF-8');
class adminTemplate {
    function HtmlStart() {
        $obj = '<!DOCTYPE html>';
        echo $obj;
        $obj = "";  
    }
    
    function HeaderStart() {
        $obj = '
    <head>';
        echo $obj;
        $obj = "";  
    }
    
    function Meta($title) {
        $obj = '
            <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
            <link rel="stylesheet" href="style/index.css">
            <link rel="stylesheet" href="style/base/jquery.ui.all.css">
            <script src="include/js/jquery-1.10.2.min.js"></script>
            <script src="include/js/ui/jquery.ui.core.js"></script>
            <script src="include/js/ui/jquery.ui.widget.js"></script>
            <script src="include/js/adminbase.js"></script>
            <title>'. $title .'</title>';
        echo $obj;
        $obj = "";  
    }
    
    function HeaderStop() {
        $obj = '
    </head>';
        echo $obj;
        $obj = "";  
    }
    
    function BodyStart() {
        $obj = '
    <body>';
        echo $obj;
        $obj = "";  
    }
    
    function BodyStop() {
        $obj = '
    </body>';
        echo $obj;
        $obj = "";  
    }
    
    function HtmlStop() {
        $obj = '
</html>';
        echo $obj;
        $obj = "";  
    }
    
    // Site elements
    
    function WrapStart() {
        $obj = '
        <div id="wrap">';
        echo $obj;
        $obj = "";  
    }
    
    function WrapStop() {
        $obj = '
        </div>';
        echo $obj;
        $obj = "";  
    }
    
    function TopStart() {
        $obj = '
        <div id="top">';
        echo $obj;
        $obj = "";  
    }
    
    function TopStop() {
        $obj = '
        </div>';
        echo $obj;
        $obj = "";  
    }
    
    function ContentStart() {
        $obj = '
        <div id="content">';
        echo $obj;
        $obj = "";  
    }
    
    function ContentStop() {
        $obj = '
        </div>';
        echo $obj;
        $obj = "";  
    }
    
    function Logo() {
        $obj = '
        <img src="images/gastrobosslogo.png">';
        echo $obj;
        $obj = "";  
    }
    
}


?>